package com.myqm.pojo.weixin;

import java.io.Serializable;
import java.sql.Timestamp;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Max;
import io.swagger.annotations.ApiModelProperty;


public class User implements Serializable {
	
	@ApiModelProperty(value="用户ID")
	private Integer id;

	@ApiModelProperty(value="订货单位名称")
	@Max(40)
	@NotNull
	private String customerName;

	@ApiModelProperty(value="联系人姓名")
	@Max(20)
	@NotNull
	private String contactName;

	@ApiModelProperty(value="联系人电话")
	@Max(15)
	@NotNull
	private String contactTel;

	@ApiModelProperty(value="备注")
	private String memo;

	@ApiModelProperty(value="拼音字段")
	private String pinyinfieldname;

	@ApiModelProperty(value="微信openid")
	@NotNull
	private String openid;

	@ApiModelProperty(value="高水客户id")
	private Integer gsId;

	@ApiModelProperty(value="0为未审核 1审核 2审核未通过")
	private String isverify;

	@ApiModelProperty(value="申请时间")
	private Timestamp createTime;

	@ApiModelProperty(value="审核时间")
	private Timestamp verifiedTime;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}
	
    public String getCustomerName () {   
    	 return customerName;
    }

    public void setCustomerName (String customerName) {
    	 this.customerName= customerName == null ? null : customerName.trim();
    }

    public String getContactName () {   
    	 return contactName;
    }

    public void setContactName (String contactName) {
    	 this.contactName= contactName == null ? null : contactName.trim();
    }

    public String getContactTel () {   
    	 return contactTel;
    }

    public void setContactTel (String contactTel) {
    	 this.contactTel= contactTel == null ? null : contactTel.trim();
    }

    public String getMemo () {   
    	 return memo;
    }

    public void setMemo (String memo) {
    	 this.memo= memo == null ? null : memo.trim();
    }

    public String getPinyinfieldname () {   
    	 return pinyinfieldname;
    }

    public void setPinyinfieldname (String pinyinfieldname) {
    	 this.pinyinfieldname= pinyinfieldname == null ? null : pinyinfieldname.trim();
    }

    public String getOpenid () {   
    	 return openid;
    }

    public void setOpenid (String openid) {
    	 this.openid= openid == null ? null : openid.trim();
    }


	public Integer getGsId () {   
		  return gsId;
	}
	
	public void setGsId (Integer gsId) {
		  this.gsId= gsId ;
	}
    public String getIsverify () {   
    	 return isverify;
    }

    public void setIsverify (String isverify) {
    	 this.isverify= isverify == null ? null : isverify.trim();
    }


	public Timestamp getCreateTime () {   
	    return createTime;
	}

	public void setCreateTime (Timestamp createTime) {
	    this.createTime= createTime;
	}

	public Timestamp getVerifiedTime () {   
	    return verifiedTime;
	}

	public void setVerifiedTime (Timestamp verifiedTime) {
	    this.verifiedTime= verifiedTime;
	}

	@Override
	public String toString() {
		return "User [id=" + id + ", customerName=" + customerName + ", contactName=" + contactName + ", contactTel="
				+ contactTel + ", memo=" + memo + ", pinyinfieldname=" + pinyinfieldname + ", openid=" + openid
				+ ", gsId=" + gsId + ", isverify=" + isverify + ", createTime=" + createTime + ", verifiedTime="
				+ verifiedTime + "]";
	}

	
	
}